projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f244c21
)
* src/comp.c (Fcomp__compile_ctxt_to_file): Fix sigmask store/restore.
author
Andrea Corallo
<akrl@sdf.org>
Mon, 21 Dec 2020 07:35:30 +0000
(08:35 +0100)
committer
Andrea Corallo
<akrl@sdf.org>
Mon, 21 Dec 2020 07:49:13 +0000
(08:49 +0100)
src/comp.c
patch
|
blob
|
history
diff --git
a/src/comp.c
b/src/comp.c
index 139cf86c4a0eed1802cce3a0268b100ec4fd5cba..84a80eba11e42c84f776d6f248b6c7121b8b2eee 100644
(file)
--- a/
src/comp.c
+++ b/
src/comp.c
@@
-4458,7
+4458,6
@@
DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file,
comp.d_ephemeral_idx =
CALL1I (comp-data-container-idx, CALL1I (comp-ctxt-d-ephemeral, Vcomp_ctxt));
- sigset_t oldset;
ptrdiff_t count = 0;
if (!noninteractive)
@@
-4472,7
+4471,7
@@
DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file,
#ifdef USABLE_SIGIO
sigaddset (&blocked, SIGIO);
#endif
- pthread_sigmask (SIG_BLOCK, &blocked, &
old
set);
+ pthread_sigmask (SIG_BLOCK, &blocked, &
saved_sig
set);
count = SPECPDL_INDEX ();
record_unwind_protect_void (restore_sigmask);
}